<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<title>Shallife 集美学和匠心的宴会设计</title>
		<link rel="shortcut icon" type="image/x-icon" href="img/static/shallife.ico" media="screen" />
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/swiper-3.4.2.min.css" />
		<link rel="stylesheet" type="text/css" href="css/shallife.css" />
	</head>

	<body>
		<!--总屏幕-->
		<div class="swiper-container" id="fullSwiper">
			<div class="swiper-wrapper">
				<!--首页屏 S-->
				<div class="swiper-slide">
					<div class="header clearfix">
				    </div>
					<div class="case-home clearfix">
						<div class="wrap">
							<div class="swiper-container" id="caseSwiper-home">
								<div class="swiper-wrapper">
									<div class="swiper-slide">
										<div class="case-part">
											<a href="">
												<div class="case-part-img">
													<img src="img/online/strategy-home2.png" />
												</div>
												<div class="case-part-con">
													<h2 class="mod-part-title">假如这块是求婚或者结婚</h2>
													<p class="mod-part-time mt5">2017-01-01</p>
													<p class="tc" style="text-align: center;"><span class="mod-part-decost"><!--<span>策划师：</span><span class="decost-name">小王王   </span>--> <span class="mod-part-decost"><span>   总花费：￥</span><span class="decost-price">1999</span></p>
													<!--<p class="mod-part-con">介绍介绍介绍介绍介绍介绍介介绍介绍介绍介绍介绍介介绍介绍介绍介绍介绍介介绍介绍介绍介绍介绍介介绍介绍介绍介绍介绍介介绍介绍介绍介绍介绍介绍介绍介绍介绍介绍介绍介绍介绍介绍</p>-->
												</div>
											</a>
										</div>
									</div>
									<div class="swiper-slide">
										<div class="case-part">
											<a href="">
												<div class="case-part-img">
													<img src="img/online/strategy-home2.png" />
												</div>
												<div class="case-part-con">
													<h2 class="mod-part-title">假如这块是求婚或者结婚</h2>
													<p class="mod-part-time mt5">2017-01-01</p>
													<p class="tc" style="text-align: center;"><span class="mod-part-decost"><!--<span>策划师：</span><span class="decost-name">小王王   </span>--> <span class="mod-part-decost"><span>   总花费：￥</span><span class="decost-price">1999</span></p>
												</div>
											</a>
										</div>
									</div>
									<div class="swiper-slide">
										<div class="case-part">
											<a href="">
												<div class="case-part-img">
													<img src="img/online/strategy-home2.png" />
												</div>
												<div class="case-part-con">
													<h2 class="mod-part-title">假如这块是求婚或者结婚</h2>
													<p class="mod-part-time mt5">2017-01-01</p>
													<p class="tc" style="text-align: center;"><span class="mod-part-decost"><!--<span>策划师：</span><span class="decost-name">小王王   </span>--> <span class="mod-part-decost"><span>   总花费：￥</span><span class="decost-price">1999</span></p>
												</div>
											</a>
										</div>
									</div>
								</div>
								<!-- 如果需要导航按钮 -->
								<div class="swiper-button-prev"></div>
								<div class="swiper-button-next"></div>
							</div>
						</div>
					</div>
				</div>
				<!--首页屏E-->
				<!--求婚/表白S-->
				<div class="swiper-slide case-qhbb">
					<div class="wrap">
						<div class="case-part-tit">
							<h2 class="case-part-en">MAKE A PERFECT PROPOSAL</h2>
							<h2 class="case-part-ch">求婚/表白</h2>
							<p class="case-part-des">关键时刻表明你的态度，对爱情非常重要 <br />就让我们和你一起，给对方一场感动</p>
						</div>
						<div class="">
							<div class="swiper-container" id="caseSwiper-qhbb">
								<div class="swiper-wrapper">
									<div class="swiper-slide">
										<div class="case-square">
											<a href="">
												<div class="case-square-img">
													<img src="img/online/strategy-home4.png" />
												</div>
												<h3 class="case-square-title">这里放婚礼的名字</h3>
												<!--<p class="mod-part-decost"><span>策划师：</span><span class="decost-name">小小  </span></p>-->
												<p class="mod-part-time">2017-01-01</p>
												<p class="mod-part-decost"><span>总花费：￥</span><span class="decost-price">2000 </span></p>
												<!--<p class="mod-part-con">这是主题介绍主题技术萨拉丁看风景阿拉山口附近的手动阀是拉斯科技对方拉科技时代</p>-->
											</a>
										</div>
									</div>
								</div>
								<!-- 如果需要导航按钮 -->
								<div class="swiper-button-prev"></div>
								<div class="swiper-button-next"></div>
							</div>
						</div>
					</div>
				</div>
				<!--求婚/表白E-->

				<!--婚礼S-->
				<div class="swiper-slide case-hl">
					<div class="wrap">
						<div class="case-part-tit">
							<h2 class="case-part-en">PLAN A ROMANTIC WEDDING</h2>
							<h2 class="case-part-ch">婚礼</h2>
							<p class="case-part-des">婚礼是爱情新的开始 <br />预示着新生活的起点，一个新的起跑线<br />就让我们和你一起品味生活</p>
						</div>
						<div class="">
							<div class="swiper-container" id="caseSwiper-hl">
								<div class="swiper-wrapper">
									<div class="swiper-slide">
										<div class="case-square">
											<a href="">
												<div class="case-square-img">
													<img src="img/online/strategy-home4.png" />
												</div>
												<h3 class="case-square-title">这里放婚礼的名字</h3>
												<!--<p class="mod-part-decost"><span>策划师：</span><span class="decost-name">小小  </span></p>-->
												<p class="mod-part-time">2017-01-01</p>
												<p class="mod-part-decost"><span>总花费：￥</span><span class="decost-price">2000 </span></p>
												<!--<p class="mod-part-con">这是主题介绍主题技术萨拉丁看风景阿拉山口附近的手动阀是拉斯科技对方拉科技时代</p>-->
											</a>
										</div>
									</div>
								</div>
								<!-- 如果需要导航按钮 -->
								<div class="swiper-button-prev"></div>
								<div class="swiper-button-next"></div>
							</div>
						</div>
					</div>
				</div>
				<!--婚礼E-->

				<!--生日S-->
				<div class="swiper-slide case-sr">
					<div class="wrap">
						<div class="case-part-tit">
							<h2 class="case-part-en">HAVE A MEMORABLE BIRTHDAY</h2>
							<h2 class="case-part-ch">生日</h2>
							<p class="case-part-des">生日是成长的脚印 <br />感恩父母，祝愿自己，体验生存的意义<br />就让我们陪你一起感恩世界</p>
						</div>
						<div class="">
							<div class="swiper-container" id="caseSwiper-sr">
								<div class="swiper-wrapper">
									<div class="swiper-slide">
										<div class="case-square">
											<a href="">
												<div class="case-square-img">
													<img src="img/online/strategy-home4.png" />
												</div>
												<h3 class="case-square-title">这里放婚礼的名字</h3>
												<!--<p class="mod-part-decost"><span>策划师：</span><span class="decost-name">小小  </span></p>-->
												<p class="mod-part-time">2017-01-01</p>
												<p class="mod-part-decost"><span>总花费：￥</span><span class="decost-price">2000 </span></p>
												<!--<p class="mod-part-con">这是主题介绍主题技术萨拉丁看风景阿拉山口附近的手动阀是拉斯科技对方拉科技时代</p>-->
											</a>
										</div>

									</div>
								</div>
								<!-- 如果需要导航按钮 -->
								<div class="swiper-button-prev"></div>
								<div class="swiper-button-next"></div>
							</div>
						</div>
					</div>
				</div>
				<!--生日E-->

				<!--宴会S-->
				<div class="swiper-slide case-yh">
					<div class="wrap">
						<div class="case-part-tit">
							<h2 class="case-part-en">GET READY FOR A BANQUET</h2>
							<h2 class="case-part-ch">宴会/PARTY</h2>
							<p class="case-part-des">宴会是沟通的桥梁 <br />联系老朋友，认识新朋友，加深彼此间的情感<br />就让我们和你一起快乐沟通</p>
						</div>
						<div class="">
							<div class="swiper-container" id="caseSwiper-yh">
								<div class="swiper-wrapper">
									<div class="swiper-slide">
										<div class="case-square">
											<a href="">
												<div class="case-square-img">
													<img src="img/online/strategy-home4.png" />
												</div>
												<h3 class="case-square-title">这里放婚礼的名字</h3>
												<!--<p class="mod-part-decost"><span>策划师：</span><span class="decost-name">小小  </span></p>-->
												<p class="mod-part-time">2017-01-01</p>
												<p class="mod-part-decost"><span>总花费：￥</span><span class="decost-price">2000 </span></p>
												<!--<p class="mod-part-con">这是主题介绍主题技术萨拉丁看风景阿拉山口附近的手动阀是拉斯科技对方拉科技时代</p>-->
											</a>
										</div>
									</div>
								</div>
								<!-- 如果需要导航按钮 -->
								<div class="swiper-button-prev"></div>
								<div class="swiper-button-next"></div>
							</div>
						</div>
					</div>
				</div>
				<!--宴会E-->

				<!--我们 S-->
				<div class="swiper-slide" id="footer">
					<div class="our-title">
						<h1 class="part-title">我们</h1>
						<p class="part-describe">
							Let's see what kind of business shallife is， What do you want to?
						</p>
					</div>
					
					<div class="our-logo">
						<div class="logo-img">
							<img src="img/static/shallife-logo.png" />
						</div>
						<h2 class="logo-tip">用爱珍藏幸福时刻</h2>
					</div>
					<!--我们的小导航-->
					<div class="swiper-container" id="ourSwiper">
						<div class="swiper-wrapper">
							<div class="swiper-slide">
								<h3 class="our-foot-tit">Shallife·用爱珍藏幸福时刻</h3>
								<p class="our-foot-con">Shallife是一家注重记录“ 爱和感动” 的宴会设计公司<br /> 我们主要进行求婚表白、婚礼宴会、生日宴会、晚宴活动、纪念活动等宴会策划设计
									<br /> 我们秉承匠心、极致、创新的工作态度为您呈现具有情感温度、丰富内涵的创新美学宴会现场
									<br /> 我们用心记录您生活中爱的感动时刻。
									<br />
								</p>
							</div>
							<div class="swiper-slide">
								<h3 class="our-foot-tit">Shallife是一家创新型的宴会设计公司</h3>
								<p class="our-foot-con">
									我们旨在做深入人心、逼格爆表、传播爆棚的宴会作品<br /> 目前我们正在飞快地发展中，需要更多优秀的伙伴加入我们
									<br /> 非常欢迎热爱婚礼行业的小伙伴与我们共同携手前行
									<br /> 我们会为您提供极具行业竞争力的薪酬待遇，宽阔的职场晋升空间
									<br />
								</p>
							</div>
							<div class="swiper-slide">
								<h3 class="our-foot-tit">Shallife是正在发展前进中的公司</h3>
								<p class="our-foot-con">
									我们需要更多的合作伙伴与我们携手发展共赢<br /> 同时我们有很多地方还不够完善
									<br /> 我们非常希望您能给予我们一些宝贵的意见和建议，这样我们会不断提升自己，只为给您的服务做得更好！
									<br /> 邮箱：work@shallife.com
									<br /> 热线：13350344936
									<br />
								</p>
							</div>
							<div class="swiper-slide">
								<h3 class="our-foot-tit">Shallife微信公众号</h3>
								<p class="our-foot-con">
									<img src="img/static/weixing.png" />
								</p>
							</div>
							<div class="swiper-slide">
								<h3 class="our-foot-tit">Shallife官方电话：400-8819-520</h3>
								<p class="our-foot-con">
									期待为您珍藏幸福时刻，即刻拨打尊享专属服务！
								</p>
							</div>
						</div>
					</div>
					<div class="our-nav">
						<ul>
							<li class="active">关于我们</li>
							<li>加入我们</li>
							<li>联系我们</li>
							<li>关注我们</li>
							<li>幸福热线</li>
						</ul>
					</div>
					<div class="footer-record">
						<div class="">
							<a href="http://www.miibeian.gov.cn"; target="_blank">Copyright © Shallife相合 版权所有  渝ICP备17012606号-2</a>
						</div>
						<div>
						<a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=50010302001792" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;"><img src="" style="float:left;"/><p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#939393;"><img src="img/static/ga-record.png"/>渝公网安备 50010302001792号</p></a>
						</div>
					</div>
				</div>
				<!--我们 E-->
			</div>
			<!-- 如果需要分页器 -->
			<div class="swiper-pagination"></div>
			<!-- 如果需要滚动条 -->
		</div>
		<script src="js/jquery-1.9.1.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/swiper-3.4.2.jquery.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/shallife.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			var caseUrl = "/Shallife/cases";
			$.ajax({
				type: "post",
				url: serviceIP + caseUrl,
				async: true,
				dataType: 'json',
				success: function(data) {
					console.log(data.result);
					darwSwiperHome(data.result.recommend);
					drawSection(data.result.propose, $("#caseSwiper-qhbb .swiper-wrapper"));
					drawSection(data.result.wedding, $("#caseSwiper-hl .swiper-wrapper"));
					drawSection(data.result.birthday, $("#caseSwiper-sr .swiper-wrapper"));
					drawSection(data.result.banquet, $("#caseSwiper-yh .swiper-wrapper"));
					/*获取屏幕大小*/
					var bodyWidth = $(window).width();
					var slidersNum = bodyWidth < 500 ? 1 : (bodyWidth <= 1050 ? 2 : 3);
					/*创建swiper对象*/
					var listSwiper = new Array();
					listSwiper.push(createCaseSwiper('#caseSwiper-qhbb', slidersNum));
					listSwiper.push(createCaseSwiper('#caseSwiper-hl', slidersNum));
					listSwiper.push(createCaseSwiper('#caseSwiper-sr', slidersNum));
					listSwiper.push(createCaseSwiper('#caseSwiper-yh', slidersNum));
				}
			});
			createCaseSwiper('#caseSwiper-home', $(window).width() < 500 ? 1 : ($(window).width() <= 1050 ? 2 : 3));
			/*渲染swiper对象的模块数据*/
			function drawSection(data, $jq) {
				for(var i = 1; i < data.length; i++) {
					$jq.children(".swiper-slide").eq(0).clone(true).appendTo($jq);
				}
				$jq.children(".swiper-slide").each(function(index) {
					$(this).find(".case-square-img img").attr("src",data[index].img+"?imageView2/1/w/240/h/240/q/75|imageslim");
					$(this).find(".case-square-title").text(data[index].title);
					$(this).find(".decost-name").text(data[index].planner);
					$(this).find(".decost-price").text(data[index].spend);
					$(this).find(".mod-part-time").text(data[index].addtime);
					$(this).find(".mod-part-con").text(data[index].abstract);
					$(this).find("a").attr("href", "case-details.html?cases_id=" + data[index].id);
				})
			}
			function darwSwiperHome(recommend) {
				$("#caseSwiper-home .case-part").each(function(index) {
					$(this).find("a").attr("href", "case-details.html?cases_id=" + recommend[index].id)
					$(this).find(".case-part-img img").attr("src",recommend[index].img+"?imageView2/1/w/240/h/240/q/75|imageslim");
					$(this).find(".mod-part-title").text(recommend[index].title);
					$(this).find(".mod-part-time").text(recommend[index].addtime);
					$(this).find(".decost-price").text(recommend[index].spend);
					$(this).find(".decost-name").text(recommend[index].planner);
					$(this).find(".mod-part-con").text(recommend[index].abstract);
				});
			}
		</script>
	</body>

</html>